namespace TS2015.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("TbXepLoaiHS")]
    public partial class TbXepLoaiH
    {
        public TbXepLoaiH()
        {
            TbThiSinhs = new HashSet<TbThiSinh>();
        }

        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int MaXepLoaiHS { get; set; }

        [Required]
        [StringLength(50)]
        public string TenXepLoai { get; set; }

        public virtual ICollection<TbThiSinh> TbThiSinhs { get; set; }
    }
}
